package com.sw.study.presistencetest.user;

import com.sw.study.presistencetest.user.pojo.UserInfo;

import java.util.List;

/**
 * Created by sw on 2020/3/25.
 */
public interface UserDao {

     List<UserInfo> findAll();


     UserInfo selectOne(UserInfo userInfo);

     int insertUser(UserInfo userInfo);

     int updatetUser(UserInfo userInfo);

     int deleteUser(UserInfo userInfo);

}